Skip to content

Check that the CSV rows reach DynamoDB in CI - #8

Merged
HarshCasper merged 2 commits into
mainfrom
ci/assert-dynamodb-items
Oct 12, 2026
Merged

HarshCasper merged 2 commits into
mainfrom
ci/assert-dynamodb-items

Conversation

@HarshCasper

Copy link
Copy Markdown
Member

The "Run tests" step uploaded sample_file.csv to S3 and stopped, so nothing checked the S3 -> Lambda -> SQS -> Lambda -> DynamoDB flow.

  • New test.sh:
    • Uploads the CSV.
    • Waits for the item count to grow by the number of data rows (21).
    • Checks that the P002 item has Warehouse B and quantity 25.
  • New make test target, which CI now calls.

Tested locally against LocalStack.

https://claude.ai/code/session_01DZfDmzUBPqNAu3yFKyfCNM

@HarshCasper
HarshCasper merged commit aa8cdcf into main Oct 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant